{% load tppt_extras %}

<div class="details_section_title">
Entities reffering from model {{section.referer|humanize}} through property {{section.referring_property|humanize}}:
</div>

<div>
{% for entity in section.entities %}
{{entity|humanize}}{% if not forloop.last %}, {% endif %}
{% endfor %}
{% if section.entities %}
{% if section.remaining %}
 and {{section.remaining}} more.
{% endif %}
<a href="{{section.all_url}}">(all)</a>
{% else %}
None
{% endif %}
</div>
